package com.lingchen.service;

import com.lingchen.entity.Error;

import java.util.List;

/**
 * Author    lingchen
 * Email     838878458@qq.com
 * Time      2018/2/28
 * Function  错题集
 */
public interface ErrorService {

    /**
     * 收藏错题
     */
    int insertError(Error... errors);

    /**
     * 查询错题集
     */
    List<Error> selectError(long userName, String courseId);
}
